// 首页接口
import request from '@/utils/request'

// 拉取导航数据
export const fetchCategory = () => {
  return request('/home/category/head', 'GET')
}

// 获取轮播图
export const findBanner = () => {
  return request('home/banner', 'get')
}

// 新鲜好物
export const findNew = () => {
  return request('home/new', 'get')
}

// 人气推荐
export const findHot = () => {
  return request('home/hot', 'get')
}

// 热门品牌
export const findBrand = () => {
  return request('home/brand?limit=5', 'get')
}
